const TokenKey = 'token';

export function getToken() {
    return window.sessionStorage.getItem(TokenKey);
}

export function setToken(token) {
    console.log(token);
    return window.localStorage.setItem(TokenKey, token);
}

export function removeToken() {
    return window.localStorage.removeItem(TokenKey);
}